fix spelling errors flagged by https://lintian.debian.org/sources/gpsbabel/1.6.0...
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 8 Jul 2020 21:58:18 +0000 (15:58 -0600)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2020 21:58:18 +0000 (15:58 -0600)
also remove gpsbabel executable that should never have been checked in.

exif.cc
format.h
gui/gpsbabel [deleted file]
mtk_logger.cc
skytraq.cc
wbt-200.cc

diff --git a/exif.cc b/exif.cc
index bde4c5c3c714660ba53083db83c6e3286efe92b1..2164151dc90cd9ed9fee4c5232ac2e1a0cbe37ef 100644 (file)
--- a/exif.cc
+++ b/exif.cc
@@ -684,17 +684,17 @@ exif_examine_app(ExifApp* app)
   uint32_t ident = gbfgetuint32(ftmp);
   is_fatal(ident != 0x66697845, MYNAME ": Invalid EXIF header magic.");
   is_fatal(gbfgetint16(ftmp) != 0, MYNAME ": Error in EXIF header.");
-  uint16_t endianess = gbfgetint16(ftmp);
+  uint16_t endianness = gbfgetint16(ftmp);
 
   if (global_opts.debug_level >= 3) {
-    printf(MYNAME ": endianess = 0x%04X\n", endianess);
+    printf(MYNAME ": endianness = 0x%04X\n", endianness);
   }
-  if (endianess == 0x4949) {
+  if (endianness == 0x4949) {
     ftmp->big_endian = 0;
-  } else if (endianess == 0x4D4D) {
+  } else if (endianness == 0x4D4D) {
     ftmp->big_endian = 1;
   } else {
-    fatal(MYNAME ": Invalid endianess identifier 0x%04X!\n", endianess);
+    fatal(MYNAME ": Invalid endianness identifier 0x%04X!\n", endianness);
   }
 
   gbfseek(ftmp, 6, SEEK_SET);
index 43637df68fe3cad89559547ce5de7bf390482a7c..63485383b783f10ee20ba425bea1338f91103b23 100644 (file)
--- a/format.h
+++ b/format.h
@@ -132,7 +132,7 @@ public:
 
   virtual void rd_position_init(const QString& /* fname */)
   {
-    fatal("Realtime tracking (-T) is not suppored by this input type.\n");
+    fatal("Realtime tracking (-T) is not supported by this input type.\n");
   }
 
   virtual Waypoint* rd_position(posn_status* /* status */)
diff --git a/gui/gpsbabel b/gui/gpsbabel
deleted file mode 100755 (executable)
index 3907281..0000000
Binary files a/gui/gpsbabel and /dev/null differ
index b44603e870c1037fc6902ff796a75b83a24a9f21..cfffac61ce384389c64f8494bfddd81542c656b6 100644 (file)
@@ -473,7 +473,7 @@ static void mtk_rd_init(const QString& fname)
     rc |= do_cmd("$PHLX810*35\r\n", "PHLX852,", nullptr, 10);
     rc |= do_cmd("$PHLX826*30\r\n", "PHLX859*38", nullptr, 10);
     if (rc != 0) {
-      dbg(2, "Greeting not successfull.\n");
+      dbg(2, "Greeting not successful.\n");
     }
   }
   xfree(model);
@@ -484,7 +484,7 @@ static void mtk_rd_deinit()
   if (mtk_device == HOLUX_GR245) {
     int rc = do_cmd("$PHLX827*31\r\n", "PHLX860*32", nullptr, 10);
     if (rc != 0) {
-      dbg(2, "Goodbye not successfull.\n");
+      dbg(2, "Goodbye not successful.\n");
     }
   }
 
index 099825268c38ffb047a117a279849606ada3bf9d..5fd096402bc275949808bd86a4e204ed209c9369 100644 (file)
@@ -198,7 +198,7 @@ rd_buf(uint8_t* buf, int len)
     db(1, MYNAME ": rd_buf(): Read error (%d)\n", rc);
     return res_ERROR;
   } else if (rc < len) {
-    db(1, MYNAME ": rd_buf(): Read timout\n");
+    db(1, MYNAME ": rd_buf(): Read timeout\n");
     return res_ERROR;
   }
 
index 6fc2a0cc635ef76a6d45a7b42d36df47fa47c7cd..0df98eb758dd20261bd08d2e8982bb4b0fcfb83f 100644 (file)
@@ -416,7 +416,7 @@ static int rd_buf(void* buf, int len)
   if (rc = gbser_read_wait(fd, buf, len, TIMEOUT), rc < 0) {
     fatal(MYNAME ": Read error (%d)\n", rc);
   } else if (rc < len) {
-    db(2, MYNAME ": Read timout, got %i of %i bytes\n", rc, len);
+    db(2, MYNAME ": Read timeout, got %i of %i bytes\n", rc, len);
     return 0;
   }
   return 1;